import javax.xml.ws.Endpoint;

public class Server {

	public Server(){
		
		System.out.println("Starting Server...");
		HelloWorld helloWorld = new HelloWorldImpl();
		String address = "http://localhost:9999/HelloWorld";
		Endpoint.publish(address, helloWorld);
	}
	
	public static void main(String[] args) throws InterruptedException {
		
		new Server();
		System.out.println("server ready...");
//		Thread.sleep(5 * 60 * 1000);
//		System.out.println("server exiting");
//		System.exit(0);
	}
}
